-- GENERATED SPELL FOR [Lake Surger] --


function spell0_17155(pUnit, Event) --@Surge,n/a--
pUnit:FullCastSpellOnTarget(32012,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17155', 555, 1)
end

function Sorts_17155(pUnit, Event)
local choix_sorts_17155 = math.random(0, 0)
if choix_sorts_17155 == 0 then
pUnit:RegisterEvent('spell0_17155', 1, 1)
end
end

function mob17155_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17155', math.random(1500, 3000), 1)
end

function mob17155_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17155_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17155_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17155, 1, 'mob17155_Action')
RegisterUnitEvent(17155, 2, 'mob17155_Leave')
RegisterUnitEvent(17155, 3, 'mob17155_Kill')
RegisterUnitEvent(17155, 4, 'mob17155_Die')
